package views.activity;

import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JComboBox;
import javax.swing.JTextField;
import javax.swing.JButton;

public class UpdateCurriculumActivityView extends JPanel {
	
	public JTextField txtTitle;
	public JComboBox<String> cmbType;
	public JComboBox<String> cmbMonthStart;
	public JComboBox<String> cmbDayStart;
	public JComboBox<String> cmbYearStart;
	public JComboBox<String> cmbMonthEnd;
	public JComboBox<String> cmbDayEnd;
	public JComboBox<String> cmbYearEnd;
	public JButton btnUpdateBeneficiaryies;
	public JButton btnUpdateParticipants;
	public JButton btnUpdateRemarks;
	public JButton btnSave;
	public JButton btnCancel;
	public JButton btnClear;
	
	public UpdateCurriculumActivityView() {
		this.setSize(420, 375);
		this.setLayout(null);
		
		JLabel lblUpdateTheActivity = new JLabel("Update the activity");
		lblUpdateTheActivity.setFont(new Font("Arial Black", Font.PLAIN, 25));
		lblUpdateTheActivity.setBounds(10, 10, 384, 30);
		this.add(lblUpdateTheActivity);
		
		JLabel lblActivityTitle = new JLabel("Activity Title");
		lblActivityTitle.setFont(new Font("Arial", Font.PLAIN, 12));
		lblActivityTitle.setBounds(10, 50, 400, 20);
		this.add(lblActivityTitle);
		
		JLabel lblActivityType = new JLabel("Activity Type");
		lblActivityType.setFont(new Font("Arial", Font.PLAIN, 12));
		lblActivityType.setBounds(10, 100, 400, 20);
		this.add(lblActivityType);
		
		JLabel lblDateStart = new JLabel("Date of Activity Start");
		lblDateStart.setFont(new Font("Arial", Font.PLAIN, 12));
		lblDateStart.setBounds(10, 150, 400, 20);
		this.add(lblDateStart);
		
		JLabel lblDateEnd = new JLabel("Date of Activity End");
		lblDateEnd.setFont(new Font("Arial", Font.PLAIN, 12));
		lblDateEnd.setBounds(10, 200, 400, 20);
		this.add(lblDateEnd);
		
		txtTitle = new JTextField();
		txtTitle.setBounds(10, 70, 400, 20);
		this.add(txtTitle);
		
		cmbType = new JComboBox<String>();
		cmbType.setBounds(10, 120, 400, 20);
		this.add(cmbType);
		
		cmbMonthStart = new JComboBox<String>();
		cmbMonthStart.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbMonthStart.setBounds(45, 170, 180, 20);
		this.add(cmbMonthStart);
		
		cmbDayStart = new JComboBox<String>();
		cmbDayStart.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbDayStart.setBounds(235, 170, 50, 20);
		this.add(cmbDayStart);
		
		cmbYearStart = new JComboBox<String>();
		cmbYearStart.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbYearStart.setBounds(295, 170, 80, 20);
		this.add(cmbYearStart);
		
		cmbMonthEnd = new JComboBox<String>();
		cmbMonthEnd.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbMonthEnd.setBounds(45, 220, 180, 20);
		this.add(cmbMonthEnd);
		
		cmbDayEnd = new JComboBox<String>();
		cmbDayEnd.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbDayEnd.setBounds(235, 220, 50, 20);
		this.add(cmbDayEnd);
		
		cmbYearEnd = new JComboBox<String>();
		cmbYearEnd.setFont(new Font("Arial", Font.PLAIN, 12));
		cmbYearEnd.setBounds(295, 220, 80, 20);
		this.add(cmbYearEnd);
		
		btnUpdateBeneficiaryies = new JButton("Update Beneficiary/ies");
		btnUpdateBeneficiaryies.setFont(new Font("Arial", Font.PLAIN, 12));
		btnUpdateBeneficiaryies.setBounds(10, 255, 180, 25);
		add(btnUpdateBeneficiaryies);
		
		btnUpdateParticipants = new JButton("Update Participant/s");
		btnUpdateParticipants.setFont(new Font("Arial", Font.PLAIN, 12));
		btnUpdateParticipants.setBounds(230, 255, 180, 25);
		add(btnUpdateParticipants);
		
		btnUpdateRemarks = new JButton("Update Remark/s");
		btnUpdateRemarks.setFont(new Font("Arial", Font.PLAIN, 12));
		btnUpdateRemarks.setBounds(120, 290, 180, 25);
		add(btnUpdateRemarks);
		
		btnSave = new JButton("Save");
		btnSave.setFont(new Font("Arial", Font.PLAIN, 12));
		btnSave.setBounds(330, 338, 80, 25);
		add(btnSave);
		
		btnCancel = new JButton("Cancel");
		btnCancel.setFont(new Font("Arial", Font.PLAIN, 12));
		btnCancel.setBounds(10, 338, 80, 25);
		add(btnCancel);
		
		btnClear = new JButton("Clear");
		btnClear.setFont(new Font("Arial", Font.PLAIN, 12));
		btnClear.setBounds(170, 338, 80, 25);
		add(btnClear);
	}
}
